package org.jeecg.tender.taskJob.extractor;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.tender.keywordsExtraction.service.ITenderInformationExtractorService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import javax.annotation.Resource;

@Slf4j
public class InformationExtractorJob implements Job {

    @Resource
    private ITenderInformationExtractorService tenderInformationExtractorService;


    /**
     * 解析招标信息数据
     * @param context
     * @throws JobExecutionException
     */
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        tenderInformationExtractorService.informationExtractorData();
    }
}
